﻿/*****************************
CSharpWriter is a RTF style Text writer control written by C#,Currently,
it use <LGPL> license.More than RichTextBox, 
It is provide a DOM to access every thing in document and save in XML format.
It can use in WinForm.NET ,WPF,Console application.Any idea about CSharpWriter 
can write to 28348092@qq.com(or yyf9989@hotmail.com). 
Project web site is [https://github.com/dcsoft-yyf/CSharpWriter].
*****************************///@DCHC@
using System ;
namespace DCSoft.HtmlDom
{
	/// <summary>
	/// 表身对象
	/// </summary>
	public class HTMLTBodyElement : HTMLContainer
	{
		/// <summary>
		/// 对象标签名称,返回"tbody"
		/// </summary>
		public override string TagName
		{
			get{ return StringConstTagName.TBody ; }
		}
		/// <summary>
		/// 表格对象下属对象只能是 tr
		/// </summary>
		/// <param name="strName"></param>
		/// <returns></returns>
		internal override bool CheckChildTagName(string strName)
		{
			return strName == StringConstTagName.Tr 
				|| strName == StringConstTagName.Col ;
		}
	}//public class HTMLTBodyElement : HTMLContainer
}